package com.insigma.business.qrcode.common.entity;

import com.insigma.business.qrcode.common.dto.ZzdEmployeeDetailBO;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;


@Data
public class ZzdOrganizationDetailBO implements Serializable {
    private static final long serialVersionUID = 3717295513219445641L;
    
    public ZzdOrganizationDetailBO() {
    }

    public ZzdOrganizationDetailBO(String orgCode, String parentCode, String orgName) {
        this.organizationCode = orgCode;
        this.parentCode = parentCode;
        this.organizationName = orgName;
        this.setTypeCode("TYJ");
        this.setAddress("");
        this.setStatus("A");
    }

    private String typeName;
    private String organizationName;
    private String typeCode;
    private Date gmtCreate;
    private String parentName;
    private String parentCode;
    private String organizationCode;
    private String status;
    private String responsibleEmployeeCodes;
    private String displayOrder;
    private String businessStripCodes;
    private String address;
    private String contactEmployeeCode;
    private String contactNumber;
    private String divisionCode;
    private String shortName;
    private String institutionCode;
    private String otherName;
    private String postalCode;
    private String remarks;
    private String unifiedSocialCreditCode;
    private String institutionLevelCode;
    private String institutionNature;
    private String institutionCategory;

    
    private List<ZzdEmployeeDetailBO> employees = new ArrayList<>();

    private List<ZzdOrganizationDetailBO> subOrg = new ArrayList<>();

}
